package cn.yunhe.util;

public class PageUtil2 {
    /*
   每页显示的游记
    */
    public static final int travelPageSize = 4;
    /*
    count 总条数数
    travelPageSize 每页显示的条数
     */
    public static int getTotalPages(int count,int PageSize){
        return count % PageSize==0? count / PageSize :count /PageSize +1;
    }
}
